import { Entity, PrimaryKey, Property } from "@mikro-orm/core";
import { BaseEntity } from "./Base";

@Entity()
export class Location extends BaseEntity {
  @Property()
  address: string;

  @Property()
  region: string;

  constructor(region: string, address: string) {
    super();
    this.region = region;
    this.address = address;
  }
}
